import{L as C}from"./LinkBox-dXHA5onU.js";import{d as R,a as t,o as a,b as s,w as e,e as n,m as h,F as D,n as v,t as L,f as i,H as b,c as x,D as B,p as N}from"./index-c80Lh_is.js";const z=R({__name:"GatewayListTabsView",setup(T){return(S,$)=>{const u=t("RouteTitle"),_=t("RouterLink"),p=t("DataCollection"),d=t("AppView"),w=t("RouterView"),f=t("RouteView"),V=t("DataSource");return a(),s(V,{src:"/me"},{default:e(({data:y})=>[y?(a(),s(f,{key:0,name:"gateway-list-tabs-view",params:{mesh:""}},{default:e(({route:l,t:c})=>[n(w,null,{default:e(({Component:g,route:m})=>[n(d,null,{title:e(()=>[h("h2",null,[n(u,{title:c(`${m.name==="builtin-gateway-list-view"?"builtin":"delegated"}-gateways.routes.items.title`)},null,8,["title"])])]),actions:e(()=>[n(p,{items:l.children,empty:!1},{default:e(({items:k})=>[n(C,null,{default:e(()=>[(a(!0),x(D,null,b(k,o=>{var r;return a(),s(_,{key:`${o.name}`,class:v({active:((r=l.active(m))==null?void 0:r.name)===o.name}),to:{name:o.name,params:{mesh:l.params.mesh}}},{default:e(()=>[i(L(c(`gateways.routes.items.navigation.${o.name}`)),1)]),_:2},1032,["class","to"])}),128))]),_:2},1024)]),_:2},1032,["items"])]),default:e(()=>[i(),i(),(a(),s(B(g)))]),_:2},1024)]),_:2},1024)]),_:1})):N("",!0)]),_:1})}}});export{z as default};
